<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>修改用户</title>
    <script src="${pageContext.request.contextPath}/js/jquery-3.4.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.css">
</head>
<body>
<h1><%= "修改用户" %></h1>
<br/>
<h2 style="color:red">${requestScope.error}</h2>
<form action="${pageContext.request.contextPath}/edit" method="post">
    <input type="hidden" name="id" value="${user.id}">
    <label for="name">名字:</label>
    <input id="name" type="text" name="name" placeholder="请输入用户名"><br/>

    <label for="password">密码:</label>
    <input id="password" type="password" name="password" placeholder="请输入密码"><br/>

    性别:<input type="radio" name="sex" value="男">男
    <input type="radio" name="sex" value="女">女<br/>

    <label for="code">出生日期:</label>
    <input id="code" type="date" name="birthday"><br/>

<%--    <label for="record">注册日期:</label>--%>
<%--    <input id="record" type="date" name="registTime"><br/>--%>

    <input type="submit" value="提交">
</form>

<hr/>

</body>
</html>